# -*- coding: utf-8 -*-

# 定义接口返回code

class ResponseCode(object):
    def __init__(self):
        self.FAILED = {
            "code": 0,
            "message": 'failed'
        }
        self.SUCCESS = {
            "code": 1,
            "message": 'success'
        }
        self.ERROR_RES_METHOD = {
            "code": 2,
            "message": 'error request method'
        }
        self.NOT_LOGIN = {
            "code": 3,
            "message": 'not login'
        }


